package com.codemobiles.droidslator.dicts;


public class DictionaryFactory {

  private static DictSpec dictIns;

  public static DictSpec getDictionary(String outLang) {

    if (outLang.equals("THAI")) {
      dictIns = new ThaiDict();
    }else if  (outLang.equals("ENGLISH")) {
      dictIns = new EnglishDict();
    }else{
      dictIns = null;
    }
    return dictIns;
  }
}
